package com.geoway.adf.report.excel.conditionformat;

import com.geoway.adf.report.excel.sheet.Range;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.HashMap;
import java.util.List;

/**
 * @Author: lzw
 * @Date: 2024/1/18 9:47
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class DefaultCondition extends ConditionFormat{
    /**
     * type 为 default 时 应设置文本颜色和单元格颜色
     */
    private HashMap<String,String> format;
    /**
     * 类型
     */
    private String conditionName;
    /**
     * 条件值所在单元格
     */
    private List<Range> conditionRange;
    /**
     * 自定义传入的条件值
     */
    private List<String> conditionValue;
}
